package com.google.shop.product.vo.product.itemvo;

import com.fasterxml.jackson.annotation.JsonProperty;
//import org.apache.commons.configuration.tree.DefaultExpressionEngine;

/* loaded from: app.jar:BOOT-INF/classes/com/google/shop/product/vo/product/itemvo/SaleAttrValueVO.class */
public class SaleAttrValueVO {
    @JsonProperty("id")
    String saleAttrValueId;
    @JsonProperty("name")
    String saleAttrValueName;
    @JsonProperty("previewImgUrl")
    String skuFirstLineSaleAttrValueImage;

    @JsonProperty("id")
    public void setSaleAttrValueId(String saleAttrValueId) {
        this.saleAttrValueId = saleAttrValueId;
    }

    @JsonProperty("name")
    public void setSaleAttrValueName(String saleAttrValueName) {
        this.saleAttrValueName = saleAttrValueName;
    }

    @JsonProperty("previewImgUrl")
    public void setSkuFirstLineSaleAttrValueImage(String skuFirstLineSaleAttrValueImage) {
        this.skuFirstLineSaleAttrValueImage = skuFirstLineSaleAttrValueImage;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof SaleAttrValueVO)) {
            return false;
        }
        SaleAttrValueVO other = (SaleAttrValueVO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$saleAttrValueId = getSaleAttrValueId();
        Object other$saleAttrValueId = other.getSaleAttrValueId();
        if (this$saleAttrValueId == null) {
            if (other$saleAttrValueId != null) {
                return false;
            }
        } else if (!this$saleAttrValueId.equals(other$saleAttrValueId)) {
            return false;
        }
        Object this$saleAttrValueName = getSaleAttrValueName();
        Object other$saleAttrValueName = other.getSaleAttrValueName();
        if (this$saleAttrValueName == null) {
            if (other$saleAttrValueName != null) {
                return false;
            }
        } else if (!this$saleAttrValueName.equals(other$saleAttrValueName)) {
            return false;
        }
        Object this$skuFirstLineSaleAttrValueImage = getSkuFirstLineSaleAttrValueImage();
        Object other$skuFirstLineSaleAttrValueImage = other.getSkuFirstLineSaleAttrValueImage();
        return this$skuFirstLineSaleAttrValueImage == null ? other$skuFirstLineSaleAttrValueImage == null : this$skuFirstLineSaleAttrValueImage.equals(other$skuFirstLineSaleAttrValueImage);
    }

    protected boolean canEqual(Object other) {
        return other instanceof SaleAttrValueVO;
    }

    public int hashCode() {
        Object $saleAttrValueId = getSaleAttrValueId();
        int result = (1 * 59) + ($saleAttrValueId == null ? 43 : $saleAttrValueId.hashCode());
        Object $saleAttrValueName = getSaleAttrValueName();
        int result2 = (result * 59) + ($saleAttrValueName == null ? 43 : $saleAttrValueName.hashCode());
        Object $skuFirstLineSaleAttrValueImage = getSkuFirstLineSaleAttrValueImage();
        return (result2 * 59) + ($skuFirstLineSaleAttrValueImage == null ? 43 : $skuFirstLineSaleAttrValueImage.hashCode());
    }

//    public String toString() {
//        return "SaleAttrValueVO(saleAttrValueId=" + getSaleAttrValueId() + ", saleAttrValueName=" + getSaleAttrValueName() + ", skuFirstLineSaleAttrValueImage=" + getSkuFirstLineSaleAttrValueImage() + DefaultExpressionEngine.DEFAULT_INDEX_END;
//    }

    public SaleAttrValueVO(String saleAttrValueId, String saleAttrValueName, String skuFirstLineSaleAttrValueImage) {
        this.saleAttrValueId = saleAttrValueId;
        this.saleAttrValueName = saleAttrValueName;
        this.skuFirstLineSaleAttrValueImage = skuFirstLineSaleAttrValueImage;
    }

    public String getSaleAttrValueId() {
        return this.saleAttrValueId;
    }

    public String getSaleAttrValueName() {
        return this.saleAttrValueName;
    }

    public String getSkuFirstLineSaleAttrValueImage() {
        return this.skuFirstLineSaleAttrValueImage;
    }
}
